public class PP1_10
{
    public static void main(String []args)
    {
    System.out.println("      GGGGGGG       KK     K   ");
    System.out.println("     G              KK    K    ");
    System.out.println("    G               KK   K     ");
    System.out.println("   G                KK  K      ");
    System.out.println("  GG                KK K       ");
    System.out.println("  GG                KKK        ");
    System.out.println("  GG                KK         ");
    System.out.println("  GG                KKK        ");
    System.out.println("  GG      GGGGGGG   KK K       ");
    System.out.println("  GG           GG   KK  K      ");
    System.out.println("   G           GG   KK   K     ");
    System.out.println("    G          GG   KK    K    ");
    System.out.println("     G         GG   KK     K   ");
    System.out.println("      GGGGGGGGGGG   KK      K  ");
    }
}
